from business.base import Base
from public.address import OrderUrl


class Payment(Base):
    def payment_pcPrepay(self, order_id):
        json_data = {
            "order_id": order_id,
            "order_source": 6,
            "pay_way": 3
        }
        res_code, response = self.send_requests("post", url=OrderUrl.OrderUrl_Account_Payment, json=json_data)
        return res_code, response